package com.luchao.back.service;

import com.luchao.back.pojo.Ads;

import java.util.List;

public interface AdsService {
    List<Ads> getAdsByPage(int startNum, int pageSize);

    long getAdsCount();

    int checkAds(String adcompany);

    int addAds(Ads ads);

    int deleteAds(Integer adid);

    boolean batchDeleteAds(List<Ads> ads);
}
